package com.mall.service.authority.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.model.domain.UmsResourceCategory;

/**
 * @Author Pan Rundong
 * @Date 2023-03-11 19:13
 * @Desc 后台资源Service
 */
public interface ResourceCategoryService extends IService<UmsResourceCategory> {
    /**
     * 添加后台资源分类
     *
     * @param resourceCategory
     * @return void
     * @Author Pan Rundong
     */
    Boolean checkAndSave(UmsResourceCategory resourceCategory);

    /**
     * 修改后台资源分类
     *
     * @param id
     * @param umsResourceCategory
     * @return void
     * @Author Pan Rundong
     */
    Boolean checkAndUpdate(Long id, UmsResourceCategory umsResourceCategory);
}
